using System;
using DevExpress.Xpo;

namespace Aij1.Model
{
    public class P_Menu : XPObject
    {
        public P_Menu(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        string fTitle;
        public string Title
        {
            get { return fTitle; }
            set { SetPropertyValue<string>("Title", ref fTitle, value); }
        }
        P_Menu fParentId;
        public P_Menu ParentId
        {
            get { return fParentId; }
            set { SetPropertyValue<P_Menu>("ParentId", ref fParentId, value); }
        }
        string fKeyword;
        public string Keyword
        {
            get { return fKeyword; }
            set { SetPropertyValue<string>("Keyword", ref fKeyword, value); }
        }
        string fUrl;
        public string Url
        {
            get { return fUrl; }
            set { SetPropertyValue<string>("Url", ref fUrl, value); }
        }
        int fVisitFlag;
        public int VisitFlag
        {
            get { return fVisitFlag; }
            set { SetPropertyValue<int>("VisitFlag", ref fVisitFlag, value); }
        }
        int fOrderId;
        public int OrderId
        {
            get { return fOrderId; }
            set { SetPropertyValue<int>("OrderId", ref fOrderId, value); }
        }
        string fImageUrl;
        public string ImageUrl
        {
            get { return fImageUrl; }
            set { SetPropertyValue<string>("ImageUrl", ref fImageUrl, value); }
        }
    }

}